package com.easysoft.framework;

import org.apache.shiro.authc.UsernamePasswordToken;

public class CustomUsernamePasswordToken extends UsernamePasswordToken {
    private String loginType;

    public CustomUsernamePasswordToken(String loginType) {
        this.loginType = loginType;
    }

    public CustomUsernamePasswordToken(String username, char[] password, String loginType) {
        super(username, password);
        this.loginType = loginType;
    }

    public CustomUsernamePasswordToken(String username, String password, String loginType) {
        super(username, password);
        this.loginType = loginType;
    }

    public CustomUsernamePasswordToken(String username, char[] password, String host, String loginType) {
        super(username, password, host);
        this.loginType = loginType;
    }

    public CustomUsernamePasswordToken(String username, String password, String host, String loginType) {
        super(username, password, host);
        this.loginType = loginType;
    }

    public CustomUsernamePasswordToken(String username, char[] password, boolean rememberMe, String loginType) {
        super(username, password, rememberMe);
        this.loginType = loginType;
    }

    public CustomUsernamePasswordToken(String username, String password, boolean rememberMe, String loginType) {
        super(username, password, rememberMe);
        this.loginType = loginType;
    }

    public CustomUsernamePasswordToken(String username, char[] password, boolean rememberMe, String host, String loginType) {
        super(username, password, rememberMe, host);
        this.loginType = loginType;
    }

    public CustomUsernamePasswordToken(String username, String password, boolean rememberMe, String host, String loginType) {
        super(username, password, rememberMe, host);
        this.loginType = loginType;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }
}
